package geektime.spring.data.reactive.mongodbdemo.model;

import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.joda.money.Money;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Coffee implements Serializable {

  private static final long serialVersionUID = 221610574778628162L;

  private String id;
  private String name;
  private Money price;
  private Date createTime;
  private Date updateTime;
}
